package com.weipai.demo.mapper.base;

import com.weipai.demo.model.CreditCard;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;
@Service
public interface CreditCardMapper extends Mapper<CreditCard> {
    List<Map<String,Object>> selectAllList(CreditCard creditCard);

    int changePublishStatus(Integer id,Integer publishStatus);

    Map<String,Object> selectOneCredit(CreditCard creditCard);

    List<Map<String,Object>> selectrRecommend(Integer start,Integer size);

    List<Map<String,Object>> hotCard();

}